<?php
    session_start();
    ob_start();
    require("./config.php");
    require("./common_start.php");
    $id_sp=$_GET['p'];
    if($id_sp != "") {
        unset($_SESSION['cart'][$id_sp]);
    }
    location("/khohangtot/view-cart.htm");
?>
<?php
function location($url)
{?>
<script type="text/javascript">
window.location = "<?=$url?>";
</script>
<?php }
?>